package kr.hkit.powerjava.chapter07.Ex;

class NumberBox {
	public int ivalue;
	public float fvalue;

	@Override
	public String toString() {
		return "NumberBox [ivalue=" + ivalue + ", fvalue=" + fvalue + "]";
	}

}

public class Ex1 {

	public static void main(String[] args) {
		NumberBox num = new NumberBox();

		num.ivalue = 10;
		num.fvalue = 1.2345F;

		System.out.println(num);
	}
}
